package com.guide.service;

import java.util.List;
import java.util.Map;

import com.guide.bizdto.CommentsParam;
import com.guide.bizdto.MessageParam;
import com.guide.bizdto.MessageSel;
import com.guide.bizdto.UserInfoParam;
import com.guide.domain.Account;
import com.guide.domain.CommentGuide;
import com.guide.domain.CommentTravel;



public interface CommentsService {
	
	public void commentsGuide(CommentsParam commentsParam,Account account);
	
	public void commentsTravelorg(CommentsParam commentsParam,Account account);
	
	public CommentTravel  getCommentsTravelByTeamId(Long teamId,Long guideId);
	
	public CommentGuide  getCommentsGuidelByTeamId(Long teamId,Long guideId);
	
	/**
	 * 发私信
	 * @param messageParam
	 * @param account
	 */
	public void sendPrivateLetter(MessageParam messageParam,UserInfoParam recUserInfo,UserInfoParam sendUserInfo);
	
	/**
	 * 发系统消息
	 * @param messageParam
	 * @param account
	 */
	public void sendSysLetter(MessageParam messageParam,Account sendAccount);
	
	public Map<String,Object> getLetters(MessageSel messageSel,Account account);
	
	public Map<String,Object> getLettersSys(MessageSel messageSel,Account account);
	
	public MessageParam getLetterById(Long messageId);
	
	public void markRead(Long messageId);
	
	public Integer getUnreadLetterCount(Long userId,Integer status);
}
